package com.ecplatform.api.client;

import com.ecplatform.api.pojo.vo.ItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "item-service")
public interface ItemClient {

    @GetMapping("/api/items")
    ItemVO selectItemById(@RequestParam("id") Long id);
}
